package com.muyu.danmo.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 艺术家类型名称对象 danmo_association_type
 *
 * @author yangle
 * @date 2024-09-27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoAssociationType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 艺术家类型名称 */
    @Excel(name = "艺术家类型名称")
    private String typeName;

    /** 协会类型 */
    @Excel(name = "协会类型")
    private Long associationId;


    private Long number;
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeName", getTypeName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("associationId", getAssociationId())
            .append("number", getNumber())
            .toString();
    }
}
